<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 通过循环制造一个5 x 5的二维数组，这个数组中的数据是**1~9之间的随机数**，试编程
    // - [[],[],[],[],[]]
    var arr = []
    for(i = 0 ;i < 5; i++){
        var a = []
        for(j = 0; j < 5; j++){
            a[j] = Math.round( Math.random() * (9-1) + 1) 
        }
        arr[i] = a;
    }
    console.log(arr)

</script>
</html>